package com.ray.bean;

import com.ray.util.StringUtil;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Getter
@Setter
public class MachineRelationWorkingTimeIntervalBean {
	private String id;// 唯一标识
	private Integer machineId;// 机器id
	private String temporalIntervalId;// 时间区间id

	public MachineRelationWorkingTimeIntervalBean() {
	}

	public MachineRelationWorkingTimeIntervalBean(String machineId,
			String temporalIntervalId) {
		this.id = StringUtil.getUUID();
		this.machineId = Integer.valueOf(machineId);
		this.temporalIntervalId = temporalIntervalId;
	}
}
